package com.springboot.demo.mapper;


import com.cx.item.common.mapper.BaseMapper;
import com.springboot.demo.model.example.CustomerAddressExample;
import com.springboot.demo.model.model.CustomerAddress;

public interface CustomerAddressMapper extends BaseMapper<CustomerAddress, CustomerAddressExample> {

    /**
     * 更新用户所有地址为非默认状态
     *
     * @param customerId
     * @return
     */
    int updateAddressNoDefault(int customerId);
}